'''------------------------------------------------------------------------------------------------
 $ @Author: your name
 $ @Date: 2021-12-22 22:36:54
 $ @LastEditTime: 2021-12-23 02:15:23
 $ @LastEditors: Please set LastEditors
 $ @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 $ @FilePath: \YSQTrackerEvaluationToolKit_v1.0\Tools\Tree.py
--------------------------------------------------------------------------------------------------'''
def MTree(floor:int,name:str)->str:
    line = '|-----'
    if floor == 0:
        return '* '+name
    else:
        return line*floor+' '+ name

# if __name__ == '__main__':
#     print(MTree(0,'000000000000000000000'))
#     print(MTree(1,'000000000000000000000'))
#     print(MTree(2,'000000000000000000000'))
#     print(MTree(3,'000000000000000000000'))
#     print(MTree(0,'000000000000000000000'))
#     print(MTree(1,'000000000000000000000'))
#     print(MTree(2,'000000000000000000000'))
#     print(MTree(3,'000000000000000000000'))